# 设置基础镜像
FROM nginx:1.20.2

# 定义作者
MAINTAINER xfactory (xfactory@ciutopia.com)

ARG envType=prod
ENV envType ${envType}

ADD ./dist /usr/share/nginx/html
ADD ./nginx-${envType}.conf /etc/nginx/nginx.conf

EXPOSE 80
